package com.xiliu.server.common.wxapp.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xiliu
 * @date 2022/12/27 9:26
 */
@ConfigurationProperties(prefix = "wx.miniapp")
@Data
public class WxappProperties {

    /**
     * 设置微信小程序的appid
     */
    private String appId;

    /**
     * 设置微信小程序的Secret
     */
    private String appSecret;

    /**
     * 消息格式，XML或者JSON
     */
    private String msgDataFormat;
}
